package com.mars.boss.weixin.wx.utils;

import com.mzlion.easyokhttp.HttpClient;

/**
 * 微信工具类
 * @author yhaoquan
 *
 */
public class WeixinUtil {

	/**
	 * 发送微信POST请求
	 * @param url
	 * @param json
	 * @return
	 */
	public static WeixinResultMsg doPost(String url, String json) {
		return HttpClient.textBody(url).json(json).execute().asBean(WeixinResultMsg.class) ;
	}
	
}
